package angryballsDecorateur.vue;

import exodecorateur_angryballs.maladroit.vues.Billard;

public class RendereringThread extends Thread {

	private Billard billard;

	public RendereringThread(Billard billard) {
		this.billard = billard;
	}

	@Override
	public void run() {
		while (true)
			try {
				billard.graphicalRender();
				sleep(5);
			} catch (Exception e) {
			}
	}

}
